home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 5 / Gold Medal Software - Volume 5 (Gold Medal) (1995).iso / windows / misc / tapecalc.arj / OPTIONS.TXT < prev    next >
Text File  |  1994-10-20  |  9KB  |  257 lines

  1. VERSION 2.00
  2. Begin Form FormOptions 
  3.    BorderStyle     =   1  'Fixed Single
  4.    Caption         =   "TapeCalc Options"
  5.    ClientHeight    =   3480
  6.    ClientLeft      =   1980
  7.    ClientTop       =   2415
  8.    ClientWidth     =   4560
  9.    ControlBox      =   0   'False
  10.    Height          =   4005
  11.    Left            =   1920
  12.    LinkTopic       =   "Form2"
  13.    MaxButton       =   0   'False
  14.    MinButton       =   0   'False
  15.    ScaleHeight     =   3480
  16.    ScaleWidth      =   4560
  17.    Top             =   1950
  18.    Width           =   4680
  19.    Begin SSPanel OptionPanel 
  20.       Align           =   1  'Align Top
  21.       BackColor       =   &H00C0C0C0&
  22.       BevelInner      =   1  'Inset
  23.       BorderWidth     =   1
  24.       Font3D          =   0  'None
  25.       ForeColor       =   &H000000FF&
  26.       Height          =   3495
  27.       Left            =   0
  28.       TabIndex        =   11
  29.       Top             =   0
  30.       Width           =   4560
  31.       Begin SSFrame FrameTapeLen 
  32.          Caption         =   "Tape Length"
  33.          Font3D          =   0  'None
  34.          Height          =   615
  35.          Left            =   120
  36.          TabIndex        =   15
  37.          Top             =   2160
  38.          Width           =   4335
  39.          Begin TextBox TextTapeLen 
  40.             Alignment       =   1  'Right Justify
  41.             BackColor       =   &H00C0C0C0&
  42.             Height          =   285
  43.             HelpContextID   =   106
  44.             Left            =   120
  45.             MaxLength       =   4
  46.             TabIndex        =   7
  47.             Top             =   240
  48.             Width           =   1095
  49.          End
  50.          Begin Label LabelTapeLen 
  51.             BackStyle       =   0  'Transparent
  52.             Caption         =   "lines (40-1000)"
  53.             Height          =   255
  54.             Left            =   1320
  55.             TabIndex        =   16
  56.             Top             =   240
  57.             Width           =   2895
  58.          End
  59.       End
  60.       Begin CommonDialog CMDialog1 
  61.          Left            =   4080
  62.          Top             =   0
  63.       End
  64.       Begin SSFrame FramePaste 
  65.          Caption         =   "Paste Options"
  66.          Font3D          =   0  'None
  67.          Height          =   1935
  68.          Left            =   120
  69.          TabIndex        =   12
  70.          Top             =   120
  71.          Width           =   4335
  72.          Begin SSFrame FrameWhat 
  73.             Caption         =   "Add What"
  74.             Font3D          =   0  'None
  75.             Height          =   1455
  76.             Left            =   2760
  77.             TabIndex        =   14
  78.             Top             =   360
  79.             Width           =   1455
  80.             Begin SSOption OptionWhat 
  81.                Caption         =   "+"
  82.                Font3D          =   0  'None
  83.                FontBold        =   -1  'True
  84.                FontItalic      =   0   'False
  85.                FontName        =   "MS Sans Serif"
  86.                FontSize        =   13.5
  87.                FontStrikethru  =   0   'False
  88.                FontUnderline   =   0   'False
  89.                Height          =   360
  90.                HelpContextID   =   106
  91.                Index           =   0
  92.                Left            =   240
  93.                TabIndex        =   3
  94.                Top             =   360
  95.                Value           =   -1  'True
  96.                Width           =   495
  97.             End
  98.             Begin SSOption OptionWhat 
  99.                Caption         =   "-"
  100.                Font3D          =   0  'None
  101.                FontBold        =   -1  'True
  102.                FontItalic      =   0   'False
  103.                FontName        =   "MS Sans Serif"
  104.                FontSize        =   13.5
  105.                FontStrikethru  =   0   'False
  106.                FontUnderline   =   0   'False
  107.                Height          =   360
  108.                HelpContextID   =   106
  109.                Index           =   1
  110.                Left            =   240
  111.                TabIndex        =   4
  112.                TabStop         =   0   'False
  113.                Top             =   720
  114.                Width           =   495
  115.             End
  116.             Begin SSOption OptionWhat 
  117.                Caption         =   "*"
  118.                Font3D          =   0  'None
  119.                FontBold        =   -1  'True
  120.                FontItalic      =   0   'False
  121.                FontName        =   "MS Sans Serif"
  122.                FontSize        =   13.5
  123.                FontStrikethru  =   0   'False
  124.                FontUnderline   =   0   'False
  125.                Height          =   360
  126.                HelpContextID   =   106
  127.                Index           =   2
  128.                Left            =   840
  129.                TabIndex        =   5
  130.                TabStop         =   0   'False
  131.                Top             =   360
  132.                Width           =   495
  133.             End
  134.             Begin SSOption OptionWhat 
  135.                Caption         =   "/"
  136.                Font3D          =   0  'None
  137.                FontBold        =   -1  'True
  138.                FontItalic      =   0   'False
  139.                FontName        =   "MS Sans Serif"
  140.                FontSize        =   13.5
  141.                FontStrikethru  =   0   'False
  142.                FontUnderline   =   0   'False
  143.                Height          =   360
  144.                HelpContextID   =   106
  145.                Index           =   3
  146.                Left            =   840
  147.                TabIndex        =   6
  148.                TabStop         =   0   'False
  149.                Top             =   720
  150.                Width           =   495
  151.             End
  152.          End
  153.          Begin SSFrame FrameWhere 
  154.             Caption         =   "Add Where"
  155.             Font3D          =   0  'None
  156.             Height          =   1455
  157.             Left            =   120
  158.             TabIndex        =   13
  159.             Top             =   360
  160.             Width           =   2535
  161.             Begin SSOption OptionWhere 
  162.                Caption         =   "&No additions"
  163.                Font3D          =   0  'None
  164.                Height          =   375
  165.                HelpContextID   =   106
  166.                Index           =   0
  167.                Left            =   120
  168.                TabIndex        =   0
  169.                Top             =   240
  170.                Value           =   -1  'True
  171.                Width           =   1695
  172.             End
  173.             Begin SSOption OptionWhere 
  174.                Caption         =   "Add after each &Number"
  175.                Font3D          =   0  'None
  176.                Height          =   375
  177.                HelpContextID   =   106
  178.                Index           =   1
  179.                Left            =   120
  180.                TabIndex        =   1
  181.                TabStop         =   0   'False
  182.                Top             =   600
  183.                Width           =   2295
  184.             End
  185.             Begin SSOption OptionWhere 
  186.                Caption         =   "Add after each &Line"
  187.                Font3D          =   0  'None
  188.                Height          =   375
  189.                HelpContextID   =   106
  190.                Index           =   2
  191.                Left            =   120
  192.                TabIndex        =   2
  193.                TabStop         =   0   'False
  194.                Top             =   960
  195.                Width           =   2295
  196.             End
  197.          End
  198.       End
  199.       Begin CommandButton ButtonHelp 
  200.          Caption         =   "&Help"
  201.          Height          =   495
  202.          Left            =   3000
  203.          TabIndex        =   10
  204.          Top             =   2880
  205.          Width           =   1455
  206.       End
  207.       Begin CommandButton ButtonCancel 
  208.          Cancel          =   -1  'True
  209.          Caption         =   "Cancel"
  210.          Height          =   495
  211.          Left            =   1440
  212.          TabIndex        =   9
  213.          Top             =   2880
  214.          Width           =   1215
  215.       End
  216.       Begin CommandButton ButtonOk 
  217.          Caption         =   "OK"
  218.          Default         =   -1  'True
  219.          Height          =   495
  220.          Left            =   120
  221.          TabIndex        =   8
  222.          Top             =   2880
  223.          Width           =   1215
  224.       End
  225.    End
  226. End
  227. Option Explicit
  228.  
  229. Sub ButtonCancel_Click ()
  230.   Tag = 0
  231.   Hide
  232. End Sub
  233.  
  234. Sub ButtonHelp_Click ()
  235.   Const HELP_CONTEXT = &H1
  236.   CMDialog1.HelpCommand = HELP_CONTEXT
  237.   CMDialog1.HelpContext = 106
  238.   CMDialog1.HelpFile = "tapecalc.hlp"
  239.   CMDialog1.Action = 6
  240. End Sub
  241.  
  242. Sub ButtonOk_Click ()
  243.   Tag = 1
  244.   Hide
  245. End Sub
  246.  
  247. Sub TextTapeLen_KeyPress (KeyAscii As Integer)
  248.   Select Case KeyAscii
  249.     Case 48 To 57, 8
  250.       ' permit digits and backspace
  251.     Case Else
  252.       ' suppress all other keys
  253.       KeyAscii = 0
  254.   End Select
  255. End Sub
  256.  
  257.